package com.fancy.middleware.common.config;

import com.fancy.middleware.common.config.datasource.ConfigDataSourceConfiguration;
import com.fancy.middleware.common.config.datasource.RuntimeDataSourceConfiguration;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration(proxyBeanMethods = false)
//@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class, MybatisAutoConfiguration.class})
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})
@Import({ConfigDataSourceConfiguration.class, RuntimeDataSourceConfiguration.class})
public class MultipleDataSourceAutoConfiguration {


}
